var webPath = "";
var editor;
$(document).ready(function(){
	webPath = $("#webPath").val();
	var msg = $("#message").val();
	if(msg != ""){
		alert(msg);
	}
});
function delMsg(msgId){
	if(msgId == ""){
		alert("请选择信息！")
		return false;
	}
	var question = confirm("确定删除吗？");
	if(question){
		$("#msgId").val(msgId);
		document.form1.action = webPath + "/admin/message!del.action";
		document.form1.submit();
	}
}